﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using COFE.Core.Logger;
using COFE.Core.Actions;
using COFE.Core;

namespace COFE.Helpers.Subclasses
{
    public class Loggers
    {
        public IEventLogger MasterEventLogger
        {
            get
            {
                return COFEShared.MasterEventLogger;                    
            }
        }

        public IEventLogger<FileSystemEventArgsExA> FileSystemEventLogger
        {
            get
            {
                return
                    COFEShared.MasterEventLogger.EventLoggers[typeof(FileSystemEventArgsExA)]
                    as IEventLogger<FileSystemEventArgsExA>;
            }
        }

        public IEventLogger<WorkEventArgs> WorkEventLogger
        {
            get
            {
                return
                    COFEShared.MasterEventLogger.EventLoggers[typeof(WorkEventArgs)]
                    as IEventLogger<WorkEventArgs>;
            }
        }
    }
}
